<?php
  //成员数组
   $arr=['小李','小王','小黑','小白'];
   //接龙数组
   $arr1=['小李'=>'AABB','小王'=>'AABB','小白'=>'AABB'];
   $sum=0;
   foreach ($arr as $value){
          foreach ($arr1 as $key=>$valueM){
                  if($key == $value){
                      $sum++;
                  }
          }
          if($sum==0){
              echo $value;
          }
          $sum=0;
   }